//exam_2_4_5.c: can be divided by 3 and 5.
#include <stdio.h>

int main(void)
{
    int i,j,num;
    int flag = 0;

    printf("Enter a integer:\n");
    scanf("%d", &num);
    
    if((num % 3 == 0) &&  (num % 5 == 0))
    {
        printf("%d can be divided by 3 and 5.\n", num);
    }
    else
    {
        printf("[%d] can not be divided by 3 and 5.\n", num);
    }
    return 0;
}
